package com.cloudkinto.service.fbaorderoutput.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * Author Administrator
 *
 * @Des
 * @Version
 * @Date 2020/6/8
 */
@Data
@ApiModel
public class FbaOrderOutputUpdateReq {
    @ApiModelProperty("id")
    @NotNull(message = "order.no.id")
    private long id;
    @ApiModelProperty(value = "申请发货日期")
    private String sendDate;
    @ApiModelProperty("所属店铺")
    @NotNull(message = "pls.chose.shop")
    private Long shopId;
    @ApiModelProperty("所在仓库")
    @NotNull(message = "pls.chose.storage")
    private Long storageId;
    @ApiModelProperty("顾客自定单号")
    private String orderNo;
    @ApiModelProperty("仓库类型 FBA仓库：fba  私人仓库：own")
    private String storageType;
    @ApiModelProperty("收货人")
    private String receiverName;
    @ApiModelProperty("联系电话")
    private String telPhone;
    @ApiModelProperty("邮编")
    @NotNull(message = "orderOutput.check.postCode")
    private String postCode;
    @ApiModelProperty("所属地区")
    private String area;
    @ApiModelProperty("地址")
    @NotNull(message = "orderOutput.check.address")
    private String address;
    @ApiModelProperty("备注")
    private String tips;
    @ApiModelProperty(value = "配达日期",example = "2020-06-01")
    private String deliveryDate;
    @ApiModelProperty(value = "配达时间段",example = "18-20")
    private String deliveryTime;
    /**
     * 代收款
     */
    @ApiModelProperty("代收款")
    private Integer cod;
    @ApiModelProperty(value = "发货类型 " ,example = "0普通 1次日达")
    private Integer shipmentType;

    private Long fileId;
    private Long productFileId;
    private Long otherFileId;

    private Long signatureFileId;

    private Long fbaStorageId;

    private Long trackId;

    private double shipFee;

    private double operateFee;

    private Date appointmentStorageTime;

    private Date appointmentCarTime;

    private String orderInputNumber;

    List<FbaOrderOutputPackageUpdateReq> packageList;
}
